package com.gopay.scheduler.job.vo;

import java.util.Date;

import com.gopay.common.cipher.utils.SensitiveInfoUtils;
import com.gopay.common.domain.BaseEntity;

/**
 * 客户信息
 * @CustInfo.java
 * @author dongdh
 * @2016年2月15日 下午4:52:32  www.gopay.com.cn Inc.All rights reserved.
 */
public class CustInfo extends BaseEntity {

    /** */
    private static final long serialVersionUID = 5901822064884602557L;
    private String custId; // 客户ID
    private String custName; // 客户名称
    private String custEmail; // 客户邮箱
    private String custType; // 客户类型：2 企业、1 个人
    private String custPhone; //客户手机
    private Date validTo;//过期时间
    //add by zhuliang at 2016-9-27 begin
    private String userId;//user_info 表的用户ID
    private String operId;//user_info 表的操作员ID
    private String operName;//user_info 表的操作员名称
    private String operMobile;//user_info 表的操作员手机
    private String certId;//证书ID
    //add by zhuliang at 2016-9-27 end
    
    public String getCertId() {
        return certId;
    }
    public void setCertId(String certId) {
        this.certId = certId;
    }
    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getOperId() {
        return operId;
    }
    public void setOperId(String operId) {
        this.operId = operId;
    }
    public String getOperName() {
        return operName;
    }
    public void setOperName(String operName) {
        this.operName = operName;
    }
    public String getOperMobile() {
        //return operMobile;
        /**
         * modified by zyt 2017-4-12 对vo中的加密字段返回做解密操作
         */
        return SensitiveInfoUtils.smartDecryptWithCheck(operMobile);
    }
    public void setOperMobile(String operMobile) {
        this.operMobile = operMobile;
    }

    public String getCustId() {
        return custId;
    }
    public void setCustId(String custId) {
        this.custId = custId;
    }
    public String getCustName() {
        return custName;
    }
    public void setCustName(String custName) {
        this.custName = custName;
    }
    public String getCustEmail() {
        return custEmail;
    }
    public void setCustEmail(String custEmail) {
        this.custEmail = custEmail;
    }
    public String getCustType() {
        return custType;
    }
    public void setCustType(String custType) {
        this.custType = custType;
    }
    public String getCustPhone() {
        //return custPhone;
        /**
         * modified by zyt 2017-4-12 对vo中的加密字段返回做解密操作
         */
        return SensitiveInfoUtils.smartDecryptWithCheck(custPhone);
    }
    public void setCustPhone(String custPhone) {
        this.custPhone = custPhone;
    }
    public Date getValidTo() {
        return validTo;
    }
    public void setValidTo(Date validTo) {
        this.validTo = validTo;
    }

}
